package com.byq.mm.smartlib.engine;

import java.util.Map;



import android.content.Context;

import com.byq.mm.abstractx.protocol.Defination;

public interface NotificationHandler {

	public void updateService(Context ctx, int i) ;

	public void notifyInvite(Defination de);

	public void notifyAccept(String jid);

	public void notifyRefuse(String jid);

	public void notifyUser(Map<String, String> msg);

	public void notifyRequest(Defination de, String from);

	public void notifyRequestRefuse(Defination de, String from);

	public void notifyRequestAgree(Defination de, String from);

	public void notifyOfferAccepted(Defination de, String from);

	public void notifyOfferRejected(Defination de, String from);

	public void notifyTransportClosed();

	public void notifyUnavailable(String to);

	public void notifyAddContactRequest(String jid);

	public void notifyAddContactResonse(String jid, String type);

}
